package com.jeecg.demo.entity;

import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.persistence.*;

/**   
 * @Title: Entity
 * @Description: 煤炭供销存图表信息
 * @author onlineGenerator
 * @date 2023-03-24 16:04:20
 * @version V1.0   
 *
 */
@Entity
@Table(name = "xm_stockinfo", schema = "")
@SuppressWarnings("serial")
public class XmStockinfoEntity implements java.io.Serializable {
	/**id*/
	private java.lang.String id;
	/**单位*/
	@Excel(name="单位",width=15)
	private java.lang.String unit;
	/**当前年份*/
	@Excel(name="当前年份",width=15,format = "yyyy-MM-dd")
	private java.util.Date createTime;
	/**去年年份*/
	@Excel(name="去年年份",width=15,format = "yyyy-MM-dd")
	private java.util.Date lastyear;
	/**省份*/
	@Excel(name="省份",width=15 ,dicCode="flag")
	private String flag;
	/**当前库存*/
	@Excel(name="当前库存",width=15)
	private java.math.BigDecimal currentstock;
	/**今年库存*/
	@Excel(name="今年库存",width=15)
	private java.math.BigDecimal inventoryyear;
	/**去年库存*/
	@Excel(name="去年库存",width=15)
	private java.math.BigDecimal inventorylastyear;
	/**当前日耗*/
	@Excel(name="当前日耗",width=15)
	private java.math.BigDecimal consumption;
	/**今年日耗*/
	@Excel(name="今年日耗",width=15)
	private java.math.BigDecimal yearConsumption;
	/**去年日耗*/
	@Excel(name="去年日耗",width=15)
	private java.math.BigDecimal lastConsumption;
	/**当前供给*/
	@Excel(name="当前供给",width=15)
	private java.math.BigDecimal supply;
	/**今年供给*/
	@Excel(name="今年供给",width=15)
	private java.math.BigDecimal yearSupply;
	/**去年供给*/
	@Excel(name="去年供给",width=15)
	private java.math.BigDecimal lastSupply;
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  id
	 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	
	@Column(name ="ID",nullable=false,length=36)
	public java.lang.String getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  id
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  单位
	 */
	
	@Column(name ="UNIT",nullable=true,length=32)
	public java.lang.String getUnit(){
		return this.unit;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  单位
	 */
	public void setUnit(java.lang.String unit){
		this.unit = unit;
	}
	
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  当前年份
	 */
	
	@Column(name ="CREATE_TIME",nullable=true)
	public java.util.Date getCreateTime(){
		return this.createTime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  当前年份
	 */
	public void setCreateTime(java.util.Date createTime){
		this.createTime = createTime;
	}
	
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  去年年份
	 */
	
	@Column(name ="LASTYEAR",nullable=true)
	public java.util.Date getLastyear(){
		return this.lastyear;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  去年年份
	 */
	public void setLastyear(java.util.Date lastyear){
		this.lastyear = lastyear;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  省份
	 */
	
	@Column(name ="FLAG",nullable=true,length=10)
	public String getFlag(){
		return this.flag;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  省份
	 */
	public void setFlag(String flag){
		this.flag = flag;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  当前库存
	 */
	
	@Column(name ="CURRENTSTOCK",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getCurrentstock(){
		return this.currentstock;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  当前库存
	 */
	public void setCurrentstock(java.math.BigDecimal currentstock){
		this.currentstock = currentstock;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  今年库存
	 */
	
	@Column(name ="INVENTORYYEAR",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getInventoryyear(){
		return this.inventoryyear;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  今年库存
	 */
	public void setInventoryyear(java.math.BigDecimal inventoryyear){
		this.inventoryyear = inventoryyear;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  去年库存
	 */
	
	@Column(name ="INVENTORYLASTYEAR",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getInventorylastyear(){
		return this.inventorylastyear;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  去年库存
	 */
	public void setInventorylastyear(java.math.BigDecimal inventorylastyear){
		this.inventorylastyear = inventorylastyear;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  当前日耗
	 */
	
	@Column(name ="CONSUMPTION",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getConsumption(){
		return this.consumption;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  当前日耗
	 */
	public void setConsumption(java.math.BigDecimal consumption){
		this.consumption = consumption;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  今年日耗
	 */
	
	@Column(name ="YEAR_CONSUMPTION",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getYearConsumption(){
		return this.yearConsumption;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  今年日耗
	 */
	public void setYearConsumption(java.math.BigDecimal yearConsumption){
		this.yearConsumption = yearConsumption;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  去年日耗
	 */
	
	@Column(name ="LAST_CONSUMPTION",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getLastConsumption(){
		return this.lastConsumption;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  去年日耗
	 */
	public void setLastConsumption(java.math.BigDecimal lastConsumption){
		this.lastConsumption = lastConsumption;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  当前供给
	 */
	
	@Column(name ="SUPPLY",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getSupply(){
		return this.supply;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  当前供给
	 */
	public void setSupply(java.math.BigDecimal supply){
		this.supply = supply;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  今年供给
	 */
	
	@Column(name ="YEAR_SUPPLY",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getYearSupply(){
		return this.yearSupply;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  今年供给
	 */
	public void setYearSupply(java.math.BigDecimal yearSupply){
		this.yearSupply = yearSupply;
	}
	
	/**
	 *方法: 取得java.math.BigDecimal
	 *@return: java.math.BigDecimal  去年供给
	 */
	
	@Column(name ="LAST_SUPPLY",nullable=true,scale=2,length=32)
	public java.math.BigDecimal getLastSupply(){
		return this.lastSupply;
	}

	/**
	 *方法: 设置java.math.BigDecimal
	 *@param: java.math.BigDecimal  去年供给
	 */
	public void setLastSupply(java.math.BigDecimal lastSupply){
		this.lastSupply = lastSupply;
	}
	
}
